package work.parabola.keyboardswitch.dao;

import org.apache.ibatis.annotations.Param;
import work.parabola.keyboardswitch.pojo.repository.LoginUserDo;

public interface LoginUserDoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(LoginUserDo record);

    int insertSelective(LoginUserDo record);

    LoginUserDo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(LoginUserDo record);

    int updateByPrimaryKey(LoginUserDo record);

    LoginUserDo selectByNamePassword(@Param("name") String name, @Param("password") String password);
}